package com.mac.hosp_pre.order.model.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mac.hosp_pre.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * PaymentInfo
 *
 * @author mac
 */
@Schema(name = "付款信息返回对象")
@Data
public class PaymentRespDto implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private Long id;
	@Schema(description = "订单编号")
	private String outTradeNo;
	@Schema(description = "订单ID")
	private Long orderId;

	/**
	 * 支付类型（微信 支付宝）
	 */
	@Schema(description = "支付类型（微信 支付宝）")
	private Integer paymentType;

	/**
	 * 交易编号
	 */
	@Schema(description = "交易编号")
	private String tradeNo;

	/**
	 * 支付金额
	 */
	@Schema(description = "支付金额")
	private BigDecimal totalAmount;

	/**
	 * 交易主题
	 */
	@Schema(description = "交易主题")
	private String subject;

	/**
	 * 支付状态
	 */
	@Schema(description = "支付状态")
	private Integer paymentStatus;

	/**
	 * 回调时间
	 */
	@Schema(description = "回调时间")
	private LocalDateTime callbackTime;

	/**
	 * 回调信息
	 */
	@Schema(description = "回调信息")
	private String callbackContent;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;

	@Schema(description = "更新时间")
	private LocalDateTime updateTime;


}

